﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;


namespace Wicresoft.EKA.NRemedy.CodeGenerate
{
    public class GenerateFieldFactory : IGenerateFieldFactory
    {
        public IGenerateField getGenerateFieldCreate(ARType arType)
        {
            if (arType == ARType.SelectionField)
            {
                return new GenerateSelectionField();
            }
            else if (arType == ARType.DiaryField)
            {
                return new GenerateDiaryField();
            }
            else
            {
                return new GenerateField();
            }
        }


    }
}
